From a52ff2f66e670874978762197b2984fa8bdf3bfd Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 10 Mar 2015 22:12:32 +0000 Subject: [PATCH] build: Fix generating introspection on MacOS We need to filter out platform-specific sources from the files that we use with the introspection scanner. In this specific case I could have moved the gtkclipboard-quartz.c and the gtkdnd-quartz.c files out of the $(gtk_base_c_sources) variable, but doing a filter-out on the variable itself is more resilient in case we eventually add files and we forget about the result. --- gtk/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/Makefile.am b/gtk/Makefile.am index 9a8285941e..83dfe31588 100644 --- a/gtk/Makefile.am +++ b/gtk/Makefile.am @@ -1330,7 +1330,7 @@ distclean-local: if HAVE_INTROSPECTION introspection_files = \ $(filter-out %private.h gtktextdisplay.h gtktextlayout.h gtkx.h, $(gtkinclude_HEADERS) $(a11yinclude_HEADERS) $(deprecatedinclude_HEADERS)) \ - $(gtk_base_c_sources) \ + $(filter-out %win32.c %quartz.c, $(gtk_base_c_sources)) \ gtkprintoperation-unix.c \ gtktypebuiltins.h \ gtktypebuiltins.c -- 2.30.2